package com.lfnyxy.dao;



import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.CountryRefEntity;
import com.lfnyxy.query.CountryRefQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface CountryRefDao {
    int CreateItem(CountryRefEntity entity);

    int UpdateItem(CountryRefEntity entity);

    List<CountryRefEntity> QueryPageList(CountryRefQuery query);

    List<CountryRefEntity> QueryAll();

    List<DropVo> QueryDrop(CountryRefQuery query);

    int QueryPageListCount(CountryRefQuery query);

    int CheckIsExist(CountryRefEntity entity);

    CountryRefEntity QueryItem(int Id);

    int DeleteItem(int Id);
}